#include <stdio.h>

int add(int a, int b)
{
  return a + b;
}

int main()
{
  int res;
  int num1, num2;

  printf("Enter first number: ");
  scanf("%d", &num1);

  printf("Enter second number: ");
  scanf("%d", &num2);

  res = add(num1, num2);
  printf("add result: %d\n", res);

  return 0;
}